<footer id="footer-bar" class="row" style="opacity: 1; position: fixed; bottom: 0px;">
    <p id="footer-copyright" class="col-xs-12">
        &copy; 2016 <a target="_blank" href="javascript:void(0);">怡亚通</a>.
    </p>
</footer>
<script type="text/javascript">
    function toMenu(obj,url){
        window.location = url;
    }
    /**模拟点击菜单**/
    $(function(){
        var url = window.location.href;
        var paramIndex = url.indexOf("?");
        var length = url.length;
        if(paramIndex > 0){
            length = paramIndex;
        }
        var host = document.domain;
        var hostIndex = url.indexOf(host);
        if(hostIndex > 0){
            url = url.substring(hostIndex + host.length,length);
        }
        if(url.length > 0){
            var idStr = url.replace(/\//g,"_");
            var _menu = $("#"+ idStr);
            _menu.parent("ul").siblings("a").click();;
            _menu.children("a").addClass("active");
        }
    });
</script>

